<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'addUser.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<link rel="stylesheet" type="text/css" href="<%=basePath %>js/layui/css/layui.css" />
    <link rel="stylesheet" type="text/css" href="<%=basePath %>css/common.css" />
    <script type="text/javascript" src="<%=basePath%>js/layui/layui.js"></script>
  </head>
  <body>
    <!-- 添加用户的方法 -->
	<div id ="addUserForm" style = "display:none;">
			<form action="" class="layui-form" style="margin:30px;" method="post" >
				<div class="layui-form-item">
					<label class="layui-form-label">tvn号</label>
					<div class="layui-input-block">
						<input type="text" name="user_id" required  id = "user_id"
							 autocomplete="off" class="layui-input"/>
					</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label">会员名称</label>
					<div class="layui-input-block">
						<input type="text" name="user_name" required  id = "user_name"
							 autocomplete="off" class="layui-input"/>
					</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label">会员电话</label>
					<div class="layui-input-block">
						<input type="text" name="user_phone" required  id = "user_phone"
							 autocomplete="off" class="layui-input"/>
					</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label">详细地址</label>
					<div class="layui-input-block">
						<input type="text" name="address_detail" required  id = "address_detail"
							 autocomplete="off" class="layui-input"/>
					</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label">积分</label>
					<div class="layui-input-block">
						<input type="text" name="user_integral" required  id = "user_integral"
							 autocomplete="off" class="layui-input"/>
					</div>
				</div>
				<!-- 添加的弹出框的两个按钮 -->
				<div class="layui-form-item">
					<div class="layui-input-block">
						<button class="layui-btn" lay-submit lay-filter="rechargeSubmit" type = "submit" id = "addUser">添加</button>
						<button type="reset" class="layui-btn layui-btn-primary">重置</button>
					</div>
				</div>
			</form>
		</div>
  </body>
</html>
